3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
QuickDraw 3D provides routines that you can use to pick with window rectangles. The dimensions of the rectangle are in the resolution of the current draw context.
You can use the Q3WindowRectPick_New function to create a new window-rectangle pick object.
TQ3PickObject Q3WindowRectPick_New (
const TQ3WindowRectPickData *data);
You can use the Q3WindowRectPick_GetRect function to get the rectangle of a window-rectangle pick object.
TQ3Status Q3WindowRectPick_GetRect (
TQ3PickObject pick,
TQ3Area *rect);
You can use the Q3WindowRectPick_SetRect function to set the rectangle of a window-rectangle pick object.
TQ3Status Q3WindowRectPick_SetRect (
TQ3PickObject pick,
const TQ3Area *rect);
You can use the Q3WindowRectPick_GetData function to get the data associated with a window-rectangle pick object.
TQ3Status Q3WindowRectPick_GetData (
TQ3PickObject pick,
TQ3WindowRectPickData *data);
The Q3WindowRectPick_GetData function returns, through the data parameter, information about the window-rectangle pick object specified by the pick parameter. See "Window-Rectangle Pick Data Structure" for the structure of a window-rectangle pick data structure.
You can use the Q3WindowRectPick_SetData function to set the data associated with a window-rectangle pick object.
TQ3Status Q3WindowRectPick_SetData (
TQ3PickObject pick,
const TQ3WindowRectPickData *data);
Previous | QD3D Book | Overview | Chapter Contents | Next |